Skip to content

[FileProvider] Update bindings up to Xcode 27.0 Beta 3 - #26165

Merged
dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27-FileProvider
Jul 17, 2026
Merged

[FileProvider] Update bindings up to Xcode 27.0 Beta 3#26165
dalexsoto merged 1 commit into
xcode27.0from
dev/alex/xc27-FileProvider

Conversation

@dalexsoto

Copy link
Copy Markdown
Member

Summary

  • Add NSFileProviderNamespacePolicy for iOS and macOS 27.0.
  • Bind the optional NSFileProviderItem.NamespacePolicy property and preserve availability metadata on its generated extension accessor.
  • Classify the Mac Catalyst enum report as an xtro false positive because the SDK marks the API unavailable, and remove the resolved FileProvider todo files.

Validation

  • make world
  • Clean xtro classification and sanity: passed
  • Clean cecil suite: 112 passed, 4 skipped
  • macOS introspection: 32 passed, 2 expected OS-version skips
  • Mac Catalyst introspection: 39 passed, 4 expected skips
  • iOS/tvOS 27 introspection exercised the rebuilt assemblies; only unrelated existing Beta 3 UIKit/AVKit/AVFoundation failures remain
  • Clean AppSize fixture: 16 tests intentionally skipped by the beta-Xcode guard

Add NSFileProviderNamespacePolicy and the optional NSFileProviderItem.NamespacePolicy property for iOS and macOS 27.0.

Document the new API, preserve availability metadata on the generated protocol extension accessor, and classify the Mac Catalyst enum report as an xtro false positive because the SDK marks the API unavailable there. Remove the resolved FileProvider todo files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fe80ca19-5b64-4a96-9795-67459b9ecbe7
Copilot AI review requested due to automatic review settings July 17, 2026 04:26
@dalexsoto dalexsoto added this to the xcode27 milestone Jul 17, 2026
@dalexsoto
dalexsoto requested a review from rolfbjarne July 17, 2026 04:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the FileProvider binding surface to match Xcode 27.0 Beta 3, adding the new namespace-policy API and aligning xtro expectations with SDK availability (especially for Mac Catalyst).

Changes:

  • Added the NSFileProviderNamespacePolicy enum (iOS/macOS 27.0; unavailable on tvOS/Mac Catalyst).
  • Bound the optional NSFileProviderItem.NamespacePolicy property and ensured its generated optional-member extension preserves availability metadata.
  • Removed resolved xtro .todo entries and classified the Mac Catalyst enum report as a false positive via .ignore.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/xtro-sharpie/api-annotations-dotnet/macOS-FileProvider.todo Removed resolved FileProvider todo entries (file removed).
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-FileProvider.todo Removed resolved todo entry (file removed).
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-FileProvider.ignore Added ignore entry for NSFileProviderNamespacePolicy on Mac Catalyst with updated rationale.
tests/xtro-sharpie/api-annotations-dotnet/iOS-FileProvider.todo Removed resolved FileProvider todo entries (file removed).
src/fileprovider.cs Added NSFileProviderNamespacePolicy enum and NSFileProviderItem.NamespacePolicy optional property with synced availability on accessor.

@dalexsoto
dalexsoto enabled auto-merge (squash) July 17, 2026 05:23
@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: 9879e172a4f7692c99f88b636d1783b6f0e94587 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

Copy link
Copy Markdown
Collaborator

🚀 [CI Build #9879e17] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 195 tests passed 🎉

Tests counts

✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 6 tests passed. Html Report (VSDrops) Download
✅ linker (iOS): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (MacCatalyst): All 15 tests passed. Html Report (VSDrops) Download
✅ linker (macOS): All 21 tests passed. Html Report (VSDrops) Download
✅ linker (tvOS): All 15 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 18 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 19 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 19 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ sharpie: All 1 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

macOS tests

✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download
✅ Tests on macOS Tahoe (26): All 5 tests passed. Html Report (VSDrops) Download
⚠️ Tests on macOS Golden Gate (27): Tests skipped, incorrect beta version. Html Report (VSDrops) Download

Linux Build Verification

Linux build succeeded

Pipeline on Agent
Hash: 9879e172a4f7692c99f88b636d1783b6f0e94587 [PR build]

@dalexsoto
dalexsoto merged commit 57894bc into xcode27.0 Jul 17, 2026
57 checks passed
@dalexsoto
dalexsoto deleted the dev/alex/xc27-FileProvider branch July 17, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants